package net.roobook.gateway.properties;

import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;

/**
 * @Author Roobook
 * @description 网关配置
 * @date 2022/4/12
 */
@SpringBootConfiguration
@PropertySource(value = {"classpath:roobook-gateway.properties"})
@ConfigurationProperties(prefix = "roobook.gateway")
public class RoobookGatewayProperties {
    /**
     * 禁止外部访问的 URI，多个值的话以逗号分隔
     */
    private String forbidRequestUri;

    public String getForbidRequestUri() {
        return forbidRequestUri;
    }

    public void setForbidRequestUri(String forbidRequestUri) {
        this.forbidRequestUri = forbidRequestUri;
    }
}
